package jgl.vajra.operator.part.vehicle.contract;

import java.util.Map;

import io.reactivex.Observable;
import jgl.vajra.operator.bean.OrderDetailsCompleteBean;
import jgl.vajra.operator.databinding.ActivityOrderDetailsCompleteBinding;
import jgl.vajra.operator.widget.mvvm.model.BaseModel;
import jgl.vajra.operator.widget.mvvm.view.BaseMVVMView;
import jgl.vajra.operator.widget.mvvm.viewmodel.BaseViewModel;

public class OrderDetailsCompleteContract {
    public abstract static class Model extends BaseModel {

        public abstract Observable<OrderDetailsCompleteBean> getOrderDetailsCompleteData(Map<String, Object> map);

    }

    public interface View extends BaseMVVMView {

        void returnOrderDetailsCompleteData(OrderDetailsCompleteBean data);
    }

    public abstract static class ViewModel extends BaseViewModel<View, ActivityOrderDetailsCompleteBinding, Model> {

        public abstract void getOrderDetailsCompleteData(Map<String, Object> map);
    }
}
